package com.island.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.island.dao.SystemLogDao;
import com.island.model.SystemLog;
import com.pollexsoft.base.dao.EntityDao;
import com.pollexsoft.base.service.BaseService;

@Service
public class SystemLogService extends BaseService<SystemLog, java.lang.String>{

	@Autowired private SystemLogDao systemLogDao;
	
	@Override
	protected EntityDao getEntityDao() {
		// TODO Auto-generated method stub
		return systemLogDao;
	}
	
	/**
	 * 插入系统日志
	 * @param systemLog
	 */
	public void createSysLog(SystemLog systemLog){
		systemLogDao.insertSysLog(systemLog);
	}
	
}
